package com.rs.admin.sys.org.vo;

import com.rs.admin.sys.org.entity.Department;
import com.rs.admin.sys.org.entity.User;
import com.rs.admin.sys.org.entity.UserDetail;

import java.util.Collections;
import java.util.List;

/**
 * @author hedonglin
 * @company 睿思科技
 * @email 1048791780@qq.com
 * @date 2017年12月20
 */
public class UserVo extends User {
    //部门
    private List<Department> depts = Collections.emptyList();

    //部门名称数组
    private String[] deptNames;

    //详情
    private UserDetail detail;

    public List<Department> getDepts() {
        return depts;
    }

    public void setDepts(List<Department> depts) {
        this.depts = depts;
    }

    public UserDetail getDetail() {
        return detail;
    }

    public void setDetail(UserDetail detail) {
        this.detail = detail;
    }

    public String[] getDeptNames() {
        return deptNames;
    }

    public void setDeptNames(String[] deptNames) {
        this.deptNames = deptNames;
    }
}
